package com.yl.auth.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.entity.Gongyingshang;
import com.yl.auth.mapper.GongyingshangMapper;
import com.yl.auth.model.vo.ShicaiVo;
import com.yl.auth.service.GongyingshangService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yl
 * @since 2023-07-13
 */
@Service
public class GongyingshangServiceImpl extends ServiceImpl<GongyingshangMapper, Gongyingshang> implements GongyingshangService {
    @Resource
    private GongyingshangMapper gongyingshangMapper;

    @Override
    public Page<Gongyingshang> getGongYingShang(Page<Gongyingshang> page1) {
        return gongyingshangMapper.getGongYingShang(page1);
    }

    @Override
    public List<Gongyingshang> getGys() {
        return gongyingshangMapper.getGys();
    }
}
